![]() |
DMSaveScreenPrefs |
||||
Header: | Displays.h | Carbon status: | Supported | |
Saves the user’s screen configuration preferences.
OSErr DMSaveScreenPrefs ( UInt32 reserved1, UInt32 saveFlags, UInt32 reserved2 );
Reserved for future expansion. Pass NULL in this parameter.
Reserved for future expansion. Pass NULL in this parameter.
Reserved for future expansion. Pass NULL in this parameter.
A result code.
Usually when you change screen properties such as pixel depth, the changes will only be temporary and will usually reset after restarting. However, the function DMSaveScreenPrefs makes the current screen properties permanent.
Because this function may move or purge memory blocks or access handles, you cannot call it at interrupt time.
Supported in Carbon. Available in Carbon 1.0.2 and later when Displays 2.0 or later is present.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)